<?php

namespace app\store\model;

use think\Model;

class SpikeSession extends Model
{

    protected $schema = [
        'id' => 'int',
        'spike_meeting_id' => 'int',
        'session_title' => 'date',
        'start_time' => 'int',
        'end_time' => 'int',
    ];

    public function goods()
    {
        return $this->belongsToMany(SpikeGoods::class,SpikeSessionGoods::class);
    } 
}